package com.smmisia.common.enums;

import lombok.Getter;

@Getter
public enum SQLCode implements ErrorCode {
    INSERT_FAIL(1001, "新增失败"),
    UPDATE_FAIL(1002, "更新失败"),
    DELETE_FAIL(1003, "删除失败"),
    INSERT_OK(1005, "新增成功"),
    UPDATE_OK(1006, "更新成功"),
    DELETE_OK(1007, "删除成功"),
    PARAMETER_ERROR(1009, "参数错误");

    private final int code;
    private final String message;

    SQLCode(int code, String message) {
        this.code = code;
        this.message = message;
    }


}

